﻿namespace SAD.Common.Contracts.DataCenter
{
    using System;
    using System.ServiceModel;
    using SAD.Common.Models;

    [ServiceContract()]
    [DeliveryRequirements(RequireOrderedDelivery = false)]
    public interface IShowNodeManager
    {
        [OperationContract(IsOneWay = false)]
        ShowNode_Data SetOnline(string showNodeMark, string hostUri);

        [OperationContract(IsOneWay = false)]
        void SetOffline(string showNodeMark);

        [OperationContract(IsOneWay = false)]
        ShowNode_Data GetShowNodeData(string showNodeMark);

        [OperationContract(IsOneWay = false)]
        string GetShowNodeIP();
    }
}